From 978d93cccaa4d69bcd1810b46a30606d514e870f Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 24 Jun 2023 18:47:09 +0100 Subject: WASM binary format: support global imports --- ...hedlang.compiler.testing.snapshots.Snapshotter)].expected | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..d8b74f10 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithGlobalImports(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,12 @@ + +module.wasm: file format wasm 0x1 + +Section Details: + +Import[2]: + - global[0] i32 mutable=1 <- ModuleName1.EntityName1 + - global[1] i64 mutable=0 <- ModuleName2.EntityName2 +Custom: + - name: "name" + +Code Disassembly: -- cgit v1.2.3